#
# Copyright (c) 2018 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
cmake_minimum_required(VERSION 3.20.0)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(code)

set(ENV{ROOT} ${CMAKE_CURRENT_SOURCE_DIR})
set(ENV{OHOS_XTS} $ENV{ROOT}/ohos_xts)

add_subdirectory($ENV{OHOS_XTS})

# NORDIC SDK APP START
target_sources(app PRIVATE src/main.c)
# NORDIC SDK APP END

zephyr_linker_sources(SECTIONS $ENV{ROOT}/linker_overlay.ld)
